package com.example.shiro.service;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.shiro.dao.UserInfoDao;
import com.example.shiro.entity.UserInfo;

@Service
public class UserInfoServiceImpl implements UserInfoService {
	@Autowired
    private UserInfoDao userInfoDao;
    @Override
    public UserInfo findByUsername(String username) {
        System.out.println("UserInfoServiceImpl.findByUsername()");
        return userInfoDao.findByUsername(username);
    }
}
